/*
 * @Author: CQJ
 * @Date: 2022-08-25 20:00:27
 * @LastEditors: CQJ
 * @LastEditTime: 2022-09-24 02:05:42
 * @Description:
 */
import { reactive } from 'vue'
import { storage } from '@/utils/storage'
interface RecordState {
  limit: number
  offset: number
  sort?: string
  order?: number
  admin_id?: string | undefined
  time_start?: number | undefined
  time_end?: number | undefined
}

// 状态管理
export const recordState = reactive<RecordState>({
  limit: 10,
  offset: 0,
  sort: undefined,
  order: 0,
  admin_id: undefined,
  time_start: undefined,
  time_end: undefined
})
